package sample.Objects;

public class Alias2 {

	private int i;

	public static void main(String[] args) {
		Alias2 x = new Alias2(7);
		System.out.println("x:" + x.i);
		f(x);
		System.out.println("x:" + x.i);
	}

	Alias2(int ii) {
		this.i = ii;
	}

	private static void f(Alias2 b) {
		b.i++;
	}

}
